* {
    box-sizing: border-box !important;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
}

#app {
    font-family: 'Microsoft YaHe', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #212121;
    height: 100%;
    background: #fff;
    overflow: hidden;
    position: relative;
    top: 0;
}

h6 {
    margin: 0;
}

input {
    outline: none;
    border: none;
    font-size: 14px;
    padding-left: 16px;
    color: #2f2f2f;
    text-align: right;
}

button {
    outline: none;
    border: none;
}

p {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    text-decoration: none;
}


/* vant */

// 下边框
[class*=van-hairline]::after {
    // border-color: #ddd !important;
    // border-bottom: none !important;
}

// 头部返回导航
.van-nav-bar {
    width: 100%;
    height: 88px;
    .van-nav-bar__title {
        height: 88px;
        line-height: 88px;
        font-size: 36px;
    }
    .van-icon-arrow-left {
        line-height: 50px;
    }
    // 返回按钮
    .van-icon-down::before {
        transform: rotateZ(90deg);
        color: #323233;
    }
    .van-nav-bar__text {
        font-size: 32px;
    }
    .van-icon-arrow-left::before {
        font-size: 32px;
    }
    .van-field__control {
        font-size: 32px;
        text-align: end;
    }
}

.van-hairline--top-bottom::after,
.van-hairline-unset--top-bottom::after {
    border-width: 0;
}

// 滚动高度
.public-scroll {
    height: calc(100% - 94px);
}

// 弹窗
.van-toast {
    width: 160px !important;
    min-height: 160px !important;
}

// 重新扫码弹窗
.login-dialog {
    &.van-dialog {
        width: 560px;
        height: 417px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        .van-dialog__header {
            font-size: 36px;
            color: #333333;
            margin-top: 20px;
        }
        .van-dialog__content {
            font-size: 30px;
            color: #333333;
            text-align: center;
        }
        .van-dialog__footer {
            height: 80px;
            .van-button {
                height: 100%;
                font-size: 36px;
                color: #1677ff;
            }
        }
        .van-cell__title {
            display: flex;
            align-items: center;
            justify-content: flex-start;
        }
        .van-cell__title,
        .van-cell__value {
            span {
                font-size: 26px;
            }
        }
        .van-cell-group {
            .van-cell {
                margin: 15px 0;
            }
        }
    }
}

//  背景闪烁
// .warning-bg {
//     background-color: #f56c6c;
//     border-color: #f56c6c;
//     animation: fade 1500ms infinite;
// }
.warning-bg {
    animation: glow 800ms ease-out infinite alternate;
}

@keyframes glow {
    0% {
        border-color: #f56c6c;
        box-shadow: 0 0 5px #f56c6c, inset 0 0 5px #f56c6c, 0 1px 0 #f56c6c;
    }
    100% {
        border-color: #f56c6c;
        box-shadow: 0 0 20px #f56c6c, inset 0 0 10px #f56c6c, 0 1px 0 #f56c6c;
    }
}


/*fade-transform*/

.fade-transform-leave-active,
.fade-transform-enter-active {
    transition: all 0.5s;
}

.fade-transform-enter {
    opacity: 0;
    transform: translateX(-30px);
}

.fade-transform-leave-to {
    opacity: 0;
    transform: translateX(30px);
}